package com.kandinfo.isbnmanage.service;

import java.util.List;

import com.kandinfo.isbnmanage.enums.IsbnRoleCodeEnum;

/**
 * 
 * isbn 任务自动分发
 * 
 * @author qiweiyang
 *
 */
public interface IsbnAutoDistributeService {

	boolean distributeOne(Long distributeFrom, Long distributeTo, String comments, int type,
			Long refKey);

	boolean distributeMuti(Long distributeFrom, Long distributeTo, String comments, int type,
			List<Long> refKeyList);

	boolean autoDistributeOne(IsbnRoleCodeEnum isbnRoleCodeEnum, Long refKey);

	boolean autoDistributeMuti(IsbnRoleCodeEnum isbnRoleCodeEnum,
			List<Long> refKeyList);
	
}
